import { Dependencies, Global, Module } from '@nestjs/common';
import { AppService } from './app.service';
import { UserModule } from './module/user/user.module';
import { CommonModule } from 'src/common/common.module';
import { InformationModule } from './module/information/information.module';
import { LeftCircle } from './lefeCircle';
import { ChatApiModule } from './module/chat-api/chat-api.module';
import { Reptile } from './module/reptile/entities/reptile.entity';
import { ReptileModule } from './module/reptile/reptile.module';
// import { RedisModule } from '@nestjs-modules/ioredis';
@Module({
  imports: [
    UserModule,
    CommonModule,
    //不用
    // InformationModule,
    ChatApiModule,
    ReptileModule
    // RedisModule.forRoot({
    //   config: {
    //     url: 'redis://localhost:6379',
    //   },
    // }),
  ],
  providers: [AppService, LeftCircle],
})
export class AppModule {}
